/**
 * Created by dywu on 2015/9/24.
 */
angular.module('mealplan.service.orderdetail', ['ngResource'])

//Order detail
    .service('CmtOrderDetailService', ['$resource', function ($resource) {
        var resource = $resource(cmturl + "ordersdetail/");
        this.getbyorderid = function (orderid) {
            var resource = $resource(cmturl + "ordersdetail/:orderid");
            return resource.query({orderid: orderid});
        };
    }])
;